package org.glut.backend.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 订单表
 *
 * @author hjd
 * @since 2025-08-06 22:46
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("performance_order_form")
public class PerformanceOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id主键
     */
    @TableId(value = "order_id", type = IdType.AUTO)

    private Integer orderId;

    /**
     * 用户id
     */
    private Integer id;

    /**
     * 演出id
     */
    private Integer pid;

    /**
     * 总价
     */
    private Integer totalPrice;
}
